Changing a behavior

After attaching a behavior, you can change the events that trigger the behavior, add or remove actions, and change parameters for actions.

To change a behavior:

1 Select an object with a behavior attached.
2 Choose Window > Behaviors to open the Behavior inspector.
3 Choose from the following options:
To add a new event, choose one from the Events pop-up menu.
To remove actions, select the event that triggers the action, select the action in Actions pane, and then click the Delete button to the right of the menu.
To delete an event or remove a behavior from a tag, select an event and then delete all the associated actions.
To change parameters for an action, select the event that triggers the action, double-click the action, change parameters in the Parameters dialog box, and then click Apply.
To change the order of actions, select the event that triggers the actions, select an action, and then click the Up or Down buttons.